Eclipse Platform
Pre-release 3.0

org.eclipse.jface.text
Interface ITextPresentationListener

All Known Implementing Classes:
AnnotationPainter

public interface ITextPresentationListener

Text presentation listeners registered with a text viewer are informed when a text region is about to be drawn in order to get the text presentation information.

XXX: This is work in progress and can change anytime until API for 3.0 is frozen.

Since:
3.0

Method Summary
 void applyTextPresentation(TextPresentation textPresentation)
          This method is called when a region is about to be drawn in order to get the text presentation information.
 

Method Detail

applyTextPresentation

public void applyTextPresentation(TextPresentation textPresentation)
This method is called when a region is about to be drawn in order to get the text presentation information. Even though the given text presentation may cover a wider region than the given one clients should not modify text presentation outside the given region since this might be ignored.

Parameters:
textPresentation - the current text presentation

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.